package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.LhkHotelServiceMapper;
import com.ruoyi.system.domain.LhkHotelService;
import com.ruoyi.system.service.ILhkHotelServiceService;

/**
 * 酒店提供的服务Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-06-06
 */
@Service
public class LhkHotelServiceServiceImpl implements ILhkHotelServiceService 
{
    @Autowired
    private LhkHotelServiceMapper lhkHotelServiceMapper;

    /**
     * 查询酒店提供的服务
     * 
     * @param serviceId 酒店提供的服务主键
     * @return 酒店提供的服务
     */
    @Override
    public LhkHotelService selectLhkHotelServiceByServiceId(Long serviceId)
    {
        return lhkHotelServiceMapper.selectLhkHotelServiceByServiceId(serviceId);
    }

    /**
     * 查询酒店提供的服务列表
     * 
     * @param lhkHotelService 酒店提供的服务
     * @return 酒店提供的服务
     */
    @Override
    public List<LhkHotelService> selectLhkHotelServiceList(LhkHotelService lhkHotelService)
    {
        return lhkHotelServiceMapper.selectLhkHotelServiceList(lhkHotelService);
    }

    /**
     * 新增酒店提供的服务
     * 
     * @param lhkHotelService 酒店提供的服务
     * @return 结果
     */
    @Override
    public int insertLhkHotelService(LhkHotelService lhkHotelService)
    {
        return lhkHotelServiceMapper.insertLhkHotelService(lhkHotelService);
    }

    /**
     * 修改酒店提供的服务
     * 
     * @param lhkHotelService 酒店提供的服务
     * @return 结果
     */
    @Override
    public int updateLhkHotelService(LhkHotelService lhkHotelService)
    {
        return lhkHotelServiceMapper.updateLhkHotelService(lhkHotelService);
    }

    /**
     * 批量删除酒店提供的服务
     * 
     * @param serviceIds 需要删除的酒店提供的服务主键
     * @return 结果
     */
    @Override
    public int deleteLhkHotelServiceByServiceIds(Long[] serviceIds)
    {
        return lhkHotelServiceMapper.deleteLhkHotelServiceByServiceIds(serviceIds);
    }

    /**
     * 删除酒店提供的服务信息
     * 
     * @param serviceId 酒店提供的服务主键
     * @return 结果
     */
    @Override
    public int deleteLhkHotelServiceByServiceId(Long serviceId)
    {
        return lhkHotelServiceMapper.deleteLhkHotelServiceByServiceId(serviceId);
    }
}
